FOLDER_SRC:=$(THEBUILDER_REPO_LOCATION)../../src
FOLDER_INCLUDE:=$(THEBUILDER_REPO_LOCATION)../../include
FOLDER_INLINE:=$(THEBUILDER_REPO_LOCATION)../../include/inl
FOLDER_RST:=$(THEBUILDER_REPO_LOCATION)../output

FOLDER_LIB:=$(FOLDER_RST)/lib
FOLDER_DLL:=$(FOLDER_RST)/dll
FOLDER_OBJ:=$(FOLDER_RST)/obj
ifeq ($(PLATFORM),Linux)
FOLDER_LIBOBJ:=$(FOLDER_OBJ)
FOLDER_DLLOBJ:=$(FOLDER_OBJ)
else
FOLDER_LIBOBJ:=$(FOLDER_OBJ)/lib
FOLDER_DLLOBJ:=$(FOLDER_OBJ)/dll
endif

DIRs:=$(DIRs) $(FOLDER_SRC) $(FOLDER_INLINE) $(FOLDER_RST) $(FOLDER_LIB) $(FOLDER_DLL) $(FOLDER_LIBOBJ) $(FOLDER_DLLOBJ)

#---------------------------------

TARGET1:=$(call formDll,$(FOLDER_DLL)/lcctoolbox)

TARGET1_FLAKE1:=$(call formObj,$(FOLDER_DLLOBJ)/lcctoolbox_block)
TARGET1_FLAKE1_D:=LCCTOOLBOX_DLL_EXPORT_LCCTOOLBOX
TARGET1_FLAKE1_source:=$(FOLDER_SRC)/lcctoolbox_block.cpp
TARGET1_FLAKE1_header:=$(call getTheMM,hpp,$(TARGET1_FLAKE1_source),$(PATH_INCLUDE))
TARGET1_FLAKE1_inline:=$(call getTheMM,inl,$(TARGET1_FLAKE1_source),$(PATH_INCLUDE))

TARGET1_FLAKE2:=$(call formObj,$(FOLDER_DLLOBJ)/lcctoolbox_filebox)
TARGET1_FLAKE2_D:=LCCTOOLBOX_DLL_EXPORT_LCCTOOLBOX
TARGET1_FLAKE2_source:=$(FOLDER_SRC)/lcctoolbox_filebox.cpp
TARGET1_FLAKE2_header:=$(call getTheMM,hpp,$(TARGET1_FLAKE2_source),$(PATH_INCLUDE))
TARGET1_FLAKE2_inline:=$(call getTheMM,inl,$(TARGET1_FLAKE2_source),$(PATH_INCLUDE))

TARGET1_FLAKE3:=$(call formObj,$(FOLDER_DLLOBJ)/lcctoolbox_markset)
TARGET1_FLAKE3_D:=LCCTOOLBOX_DLL_EXPORT_LCCTOOLBOX
TARGET1_FLAKE3_source:=$(FOLDER_SRC)/lcctoolbox_markset.cpp
TARGET1_FLAKE3_header:=$(call getTheMM,hpp,$(TARGET1_FLAKE3_source),$(PATH_INCLUDE))
TARGET1_FLAKE3_inline:=$(call getTheMM,inl,$(TARGET1_FLAKE3_source),$(PATH_INCLUDE))

#
TARGET1_FLAKEs:=TARGET1_FLAKE1 TARGET1_FLAKE2 TARGET1_FLAKE3
TARGET1_FLAKEs_VARs:=$(TARGET1_FLAKE1) $(TARGET1_FLAKE2) $(TARGET1_FLAKE3)
TARGET1_TYPE:=$(call getType,$(TARGET1))
#
#---------------------------------

target_index:=1
